class EntradasCatalogo < ActiveRecord::Base
  validates_presence_of :valor, :on => :create
  validates_uniqueness_of :valor, :on => :create, :scope => [ :valor, :parent_value_id ]
  
  belongs_to :catalogo
end
